package com.example.hhh.service;

import com.example.hhh.model.Business;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import java.util.List;

public interface BusinessService {
    Business createBusiness(Business business);
    Business getBusinessById(Integer id);
    Page<Business> getAllBusinesses(Pageable pageable);
    List<Business> findByBusinessType(String type);
    List<Business> findBusinessByCostRange(Double min, Double max);
}